using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 路由字典表
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 路由字典表
    /// </summary>
    [SugarTable("sys_menu_dict", TableDescription = "路由字典表")]
    public class SysMenuDict
    {
        /// <summary>
        /// 路由id
        /// </summary>
        [SugarColumn(ColumnName = "ID" ,IsIdentity = true, IsPrimaryKey = true)]
        public int ID{ get; set; }
        
        /// <summary>
        /// 路径
        /// </summary>
        [SugarColumn(ColumnName = "Path")]
        public string? Path{ get; set; }
        
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string? Name{ get; set; }
        
        /// <summary>
        /// 组件
        /// </summary>
        [SugarColumn(ColumnName = "Component")]
        public string? Component{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Redirect")]
        public string? Redirect{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Hidden")]
        public int? Hidden{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "AlwaysShow")]
        public int? AlwaysShow{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "FatherID")]
        public int? FatherID{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Title")]
        public string? Title{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Icon")]
        public string? Icon{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "NoCache")]
        public int? NoCache{ get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Xh")]
        public int? Xh{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Link")]
        public string? Link{ get; set; }
        
    }
}